package cn.zjitc.exam.service;

import cn.zjitc.exam.domain.Product;

import java.util.List;

public interface ProductService {
    Product findById(int id);
    int insert(Product product);
    int update(Product product);
    int delete(int id);
    int getProductCount();
    List<Product> getProductByPage(int page,int pageSize);
    List<Product> searchByKeyword(String keyword,int page,int pageSize);
    int countByKeyword(String keyword);
}
